package com.itheima.health.service;

import com.itheima.health.common.ValidateCodeType;

import javax.xml.bind.ValidationEvent;

public interface SmsService {
    //发送验证码
    void sendVlaidateCode( ValidateCodeType type,String mobile);
    //验证短信验证码
    boolean checkValidateCode(ValidateCodeType type,String mobile,String code);
}
